﻿@{
    ViewBag.Title = "שאלות אישור";
}
@section headElements{
    <link href="@Url.Content("~/Content/ApprovalChecks.css")" rel="stylesheet" type="text/css" />
    <script src="@Url.Content("~/Scripts/ApprovalChecks.js")" type="text/javascript"></script>
}
<ul id="Breadcrumbs">
    <li><a href="@Url.Action("Index", "Admin")">פאנל ניהול</a></li>
    <li>שאלות אישור</li>
</ul>
<table id="tblApprovalChecks">
    <tr>
        <th>
        </th>
        <th>
            שאלה
        </th>
        <th>
            שיוך
        </th>
        <th>
            הסר
        </th>
    </tr>
</table>
<div class="topSpace">
    <input type="button" value="שאלה חדשה" id="btnAddApprovalCheck" class="button" />
</div>
<script id="approvalCheckTemplate" type="text/x-jquery-tmpl">
    <tr>
        <td class="successCell">
            <img src="@Url.Content("~/Content/images/success.png")" class="hidden" />
        </td>
        <td>
            <input type="hidden" id="ApprovalCheckId" name="ApprovalCheckId" value="${ApprovalCheckId}" />
            <input type="text" name="Title" value="${Title}" />
        </td>
        <td>
            <input type="hidden" class="IsSectionVal" value="${IsSection}" />
            <select name="IsSection">
                <option value="false">אלבום</option>
                <option value="true">מקטע</option>
            </select>
        </td>
        <td>
            <a href="" class="lnkDeleteApprovalCheck">מחק שאלה</a>
        </td>
    </tr>
</script>
